export type modelItem = {
  formId: string;
  formName: string;
  [props: string]: any;
};

export type AuditStatus = "pending" | "approved" | "my";

export type AuditRecordItem = {
  action: string | null;
  approvalMode: string | null;
  comment: string[];
  finishTime: string;
  isFuture: boolean;
  name: string;
  nodeId: string;
  nodeType: string;
  result: string;
  signature: string | null;
  startTime: string;
  taskId: string;
  user: {
    avatar: string | null;
    id: string;
    name: string;
    sex: string | null;
    type: string | null;
  };
};

export type FileContextType = "image" | "video" | "unknown" | null;
export type StandardItem = {
  fieldName: string;
  fieldValue: any;
  valueComplex: boolean;
  fieldTypeName: string;
  fieldType: string | null;
  fileContextType: FileContextType;
};
export type FileItem = {
  fileName: string;
  fileUrl: string;
  fileId: string;
  fileType: string | null;
};
export type StandardForm = {
  imageList?: FileItem[];
  videoList?: FileItem[];
  fieldData: StandardItem[];
};
